package com.itheima.d01_extends_son_sort;

public class Zi  extends Fu{

    public String name = "PDD";


    public void printName(){
        String name = "卢本伟";
        //默认访问局部变量
        System.out.println(name);
        //访问子类成员变量
        System.out.println(this.name);
        //访问继承自父类的成员变量
        System.out.println(super.name);

    }


}






